﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.SystemInfo
{
    [Serializable]
    public class SMS
    {
        public SMS()
        {
        }
        #region model
        private int _id;
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }
        private string _phone="";

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }
        private string _message="";

        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }
        private DateTime? _sendtime=DateTime.Now;

        public DateTime? Sendtime
        {
            get { return _sendtime; }
            set { _sendtime = value; }
        }

        private int? _sendtype = 1;
        /// <summary>
        /// 1表示手动对客人发送短信，2表示发送短信验证码，其他待添加
        /// </summary>
        public int? Sendtype
        {
            get { return _sendtype; }
            set { _sendtype = value; }
        }
        private int? _sendstatus;
        /// <summary>
        /// 1表示成功，0表示失败
        /// </summary>
        public int? Sendstatus
        {
            get { return _sendstatus; }
            set { _sendstatus = value; }
        }
        private int? _sendid;

        public int? Sendid
        {
            get { return _sendid; }
            set { _sendid = value; }
        }
       
        #endregion
    }
}
